package visual;

import java.awt.EventQueue;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.UIManager.LookAndFeelInfo;
import javax.swing.border.EmptyBorder;
import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;

import java.awt.Rectangle;
import net.miginfocom.swing.MigLayout;
import javax.swing.JLabel;
import javax.swing.JCheckBox;
import javax.swing.JButton;
import java.awt.Font;

public class InvChoose extends JFrame {
	private JPanel contentPane;
	
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					Main frame = new Main();
					frame.setVisible(true);

				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}
	

	/**
	 * Create the frame.
	 * 
	 * @throws UnsupportedLookAndFeelException
	 * @throws IllegalAccessException
	 * @throws InstantiationException
	 * @throws ClassNotFoundException
	 */
	public InvChoose() throws ClassNotFoundException, InstantiationException,
			IllegalAccessException, UnsupportedLookAndFeelException {
		setBounds(new Rectangle(50, 50, 400, 400));
		setTitle("\u0420\u0430\u0441\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0435 \u0438\u043D\u0432\u0435\u0441\u0442\u0438\u0446\u0438\u0439 \u043F\u043E \u043E\u0442\u0440\u0430\u0441\u043B\u044F\u043C");
		try {
			for (LookAndFeelInfo info : UIManager.getInstalledLookAndFeels()) {
				if ("Nimbus".equals(info.getName())) {
					UIManager.setLookAndFeel(info.getClassName());
					break;
				}
			}
		} catch (Exception e) {
		}
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(new MigLayout("", "[grow]", "[][][][][][][][][][][][]"));
		
		JLabel lblNewLabel = new JLabel("\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u043E\u0442\u0440\u0430\u0441\u043B\u0438:");
		lblNewLabel.setFont(new Font("Calibri", Font.PLAIN, 13));
		contentPane.add(lblNewLabel, "cell 0 0");
		
		JCheckBox checkBox = new JCheckBox("\u041F\u0438\u0449\u0435\u0432\u0430\u044F \u043F\u0440\u043E\u043C\u044B\u0448\u043B\u0435\u043D\u043D\u043E\u0441\u0442\u044C");
		checkBox.setFont(new Font("Calibri", Font.PLAIN, 13));
		contentPane.add(checkBox, "cell 0 1");
		
		JCheckBox checkBox_1 = new JCheckBox("\u041B\u0435\u0433\u043A\u0430\u044F \u043F\u0440\u043E\u043C\u044B\u0448\u043B\u0435\u043D\u043D\u043E\u0441\u0442\u044C");
		checkBox_1.setFont(new Font("Calibri", Font.PLAIN, 13));
		contentPane.add(checkBox_1, "cell 0 2");
		
		JCheckBox checkBox_2 = new JCheckBox("\u0414\u0435\u0440\u0435\u0432\u043E\u043E\u0431\u0440\u0430\u0431\u0430\u0442\u044B\u0432\u0430\u044E\u0449\u0430\u044F \u043F\u0440\u043E\u043C\u044B\u0448\u043B\u0435\u043D\u043D\u043E\u0441\u0442\u044C");
		checkBox_2.setFont(new Font("Calibri", Font.PLAIN, 13));
		contentPane.add(checkBox_2, "cell 0 3");
		
		JCheckBox checkBox_3 = new JCheckBox("\u0426\u0435\u043B\u043B\u044E\u043B\u043E\u0437\u043D\u043E-\u0431\u0443\u043C\u0430\u0436\u043D\u0430\u044F \u043F\u0440\u043E\u043C\u044B\u0448\u043B\u0435\u043D\u043D\u043E\u0441\u0442\u044C");
		checkBox_3.setFont(new Font("Calibri", Font.PLAIN, 13));
		contentPane.add(checkBox_3, "cell 0 4");
		
		JCheckBox checkBox_4 = new JCheckBox("\u041D\u0435\u0444\u0442\u0435\u043F\u0435\u0440\u0435\u0440\u0430\u0431\u0430\u0442\u044B\u0432\u0430\u044E\u0449\u0430\u044F \u043F\u0440\u043E\u043C\u044B\u0448\u043B\u0435\u043D\u043D\u043E\u0441\u0442\u044C");
		checkBox_4.setFont(new Font("Calibri", Font.PLAIN, 13));
		contentPane.add(checkBox_4, "cell 0 5");
		
		JCheckBox checkBox_5 = new JCheckBox("\u0425\u0438\u043C\u0438\u0447\u0435\u0441\u043A\u0430\u044F \u043F\u0440\u043E\u043C\u044B\u0448\u043B\u0435\u043D\u043D\u043E\u0441\u0442\u044C");
		checkBox_5.setFont(new Font("Calibri", Font.PLAIN, 13));
		contentPane.add(checkBox_5, "cell 0 6");
		
		JCheckBox checkBox_6 = new JCheckBox("\u041F\u0440\u043E\u043C\u044B\u0448\u043B\u0435\u043D\u043D\u043E\u0441\u0442\u044C \u0441\u0442\u0440\u043E\u0439\u043C\u0430\u0442\u0435\u0440\u0438\u0430\u043B\u043E\u0432");
		checkBox_6.setFont(new Font("Calibri", Font.PLAIN, 13));
		contentPane.add(checkBox_6, "cell 0 7");
		
		JCheckBox checkBox_7 = new JCheckBox("\u041C\u0435\u0442\u0430\u043B\u043B\u0443\u0440\u0433\u0438\u044F");
		checkBox_7.setFont(new Font("Calibri", Font.PLAIN, 13));
		contentPane.add(checkBox_7, "cell 0 8");
		
		JCheckBox checkBox_8 = new JCheckBox("\u041C\u0430\u0448\u0438\u043D\u043E\u0441\u0442\u0440\u043E\u0435\u043D\u0438\u0435");
		checkBox_8.setFont(new Font("Calibri", Font.PLAIN, 13));
		contentPane.add(checkBox_8, "cell 0 9");
		
		JCheckBox checkBox_9 = new JCheckBox("\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u044D\u043D\u0435\u0440\u0433\u0435\u0442\u0438\u043A\u0430");
		checkBox_9.setFont(new Font("Calibri", Font.PLAIN, 13));
		contentPane.add(checkBox_9, "flowy,cell 0 10");
		
		JButton btnNewButton = new JButton("\u041E\u041A");
		contentPane.add(btnNewButton, "flowx,cell 0 11");
		btnNewButton.setFont(new Font("Calibri", Font.PLAIN, 13));
		
		JButton button = new JButton("\u041E\u0442\u043C\u0435\u043D\u0430");
		contentPane.add(button, "cell 0 11");
		button.setFont(new Font("Calibri", Font.PLAIN, 13));
		
	}
}
